package cn.edu.sptc.sms_lichaoping.entity;


import io.swagger.v3.oas.annotations.media.Schema;
import  lombok.Data;
import java.util.Date;
//d应对数据库中的专业表（t_major)
@Data
@Schema(description = "专业实体类（请求体/响应体共用）")
public class Major {
    @Schema(description = "专业ID，自动新增" , example = "1",required = true)
    private long id;
    @Schema(description = "专业名称" , example = "软件技术",required = true)
    private String name;
    @Schema(description = "创建时间，系统自动添加" )
    private Date createTime;
    @Schema(description = "更新时间，系统自动更新" )
    private Date updateTime;
}